<html lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head>

    <title>充值缴费</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
</head>

<body>
<span>gzh页面</span>

<wx-open-launch-weapp id="payForOther" username="gh_09a9973f6d1b"
                      path="lib/wdpay/dist/pages/appwxpay/appwxpay.html?token=C2919264894&bank=%7B%22instCode%22%3A%22WXPAY%22%2C%22dbcr%22%3A%22GC%22%7D&ticket=C2919241499&orderId=819980411588879&payAmount=2.00">
    <script type="text/wxtag-template">
        <style>
            .btn {
                padding: .2em 0.9em;
                min-height: 2.2em;
                font-size: 1em;
                text-align: center;
            }

            .ub {
                display: -webkit-box !important;
                display: box !important;
                position: relative;
            }

            .ub-ac {
                -webkit-box-align: center;
                box-align: center;
            }

            .ub-pc {
                -webkit-box-pack: center;
                box-pack: center;
            }

            .uc-a {
                -webkit-border-radius: .6em;
                border-radius: .6em
            }
        </style>
        <div class="btn ub ub-ac bc-text-head ub-pc uc-a"
             style="height:2.5em;margin-top:1.625em;margin-left:1em;margin-right: 1em;background-color: #1186d1;width: 320px">
            <div style="color: #FFFFFF;font-size: 1.3em">
                立即充值
            </div>
        </div>
    </script>
</wx-open-launch-weapp>

<!--  //gh_e9b11c65ef64公众号 JSSDK -->
<script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
<!--js代码-->
<script type="text/javascript">
    var appId = '[[${signInfo.appId}]]';
    var signUrl = '[[${signUrl}]]';
    console.log(signUrl)
    var timestamp = [[${signInfo.timestamp}]];
    var nonceStr = '[[${signInfo.nonceStr}]]';
    var signature = '[[${signInfo.signature}]]';
    alert("123")
    wx.config({
        debug: true, // 开启调试模式
        appId: appId, // 必填，公众号的唯一标识
        timestamp: timestamp, // 必填，生成签名的时间戳
        nonceStr: nonceStr, // 必填，填任意非空字符串即可
        signature: signature, // 必填，填任意非空字符串即可
        jsApiList: ['chooseImage', 'previewImage'],
        openTagList: ['wx-open-launch-weapp'], // 填入打开小程序的开放标签名
    });
alert("123")
</script>
</body>

</html>